package com.example.malldemo.service;

import com.example.malldemo.dto.PmsBrandParam;
import com.example.malldemo.mbg.model.PmsBrand;
import org.springframework.stereotype.Service;

import java.util.List;


public interface PmsBrandService {
    List<PmsBrand> listAllBrand();

    int createBrand(PmsBrand brand);

    int createBrand(PmsBrandParam pmsBrandParam);

    int updateBrand(Long id, PmsBrand brand);

    int deleterBrand(Long id);

    List<PmsBrand> listBrand(int pageNum, int pageSize);

    PmsBrand getBrand(Long id);
}
